<template>
  <div id="app">
    <keep-alive include="index">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-top: 0;
}
#app {
  background: url("../static/bg-img.png");
  background-attachment: scroll;
  background-size: 100% 100%;
  font-size: 0.12rem;
}
/* 手机 */
@media only screen and (max-width: 400px) {
  body,
  html {
    font-size: 100px;
    padding: 0;
    margin: 0;
    line-height: 0.13rem;
    overflow-x: auto;
    overflow-y: auto;
    min-width: 1920px;
    max-width: 1920px;
  }
}
/* 平板 */
@media only screen and (min-width: 401px) and (max-width: 960px) {
  body,
  html {
    font-size: 100px;
    padding: 0;
    margin: 0;
    line-height: 0.13rem;
    overflow-x: auto;
    overflow-y: auto;
    min-width: 1920px;
    max-width: 1920px;
  }
}
/* PC、平板电脑 */
@media only screen and (min-width: 961px) and (max-width: 1394px) {
  body,
  html {
    font-size: 100px;
    padding: 0;
    margin: 0;
    line-height: 0.12rem;
    overflow-x: auto;
    overflow-y: auto;
    min-width: 1920px;
    max-width: 1920px;
  }
}
@media only screen and (min-width: 1394px) {
  body,
  html {
    font-size: 100px;
    padding: 0;
    margin: 0;
    line-height: 0.12rem;
    overflow-x: auto;
    overflow-y: auto;
    min-width: auto;
    max-width: auto;
  }

}
</style>
